package com.zzl.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName DemoController
 * @Description 
 * 
 * @Date 2022/7/6
 * @Version 1.0
 */
@Controller
@Slf4j
@RequestMapping("demo")
public class DemoController {
    /**
     *  /demo/info
     * @return
     */
    @GetMapping("info")
    @ResponseBody
    public String info(){
        return "请求并响应成功";
    }

}
